public class A {
   public static void main (String args[]) {
     B b = new B();
     b.setX(-100);
     b.setY(-200);
     System.out.println("sum="+b.getXYSum());
   }
}
